package com.yoga.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yoga.model.Admin;

import java.util.List;

/**
 * @author yan
 * @date 2025/8/18
 */
public interface AdminService {
    Page<Admin> findAll(Page<Admin> page, Admin admin);

    boolean add(Admin admin);

    boolean update(Admin admin);

    boolean deleteById(Integer id);

    Admin findByUsername(String username);
}
